#pragma once

#include "ColligereDataExporterBase.hpp"

namespace col
{

class XmlDataExporter : public DataExporterBase
{
public:
	XmlDataExporter() : mpFrom(0) { }
	void Export ( DatabaseInterfaceBase &rFrom,
		const wxString &rToFile );
	wxUint32 GetItemCount() const;
private:
	DatabaseInterfaceBase *mpFrom;
	wxXmlNode * ExportItem ( const DatabaseItemBase *pItem );
};

}